package com.study.controller;

import com.study.entity.OrderDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 此类描述的是：
 * @author: 李军容
 * @version: 2020/11/17 20:01
 */
public interface OpenFeignInterface {

    @GetMapping("/allOrders")
    String getAllOrders();

    @PostMapping("/insertOrders")
    int insertOrders(OrderDto dto);

}
